package com.structsdemo.spring;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

import org.springframework.beans.factory.InitializingBean;

public class HelloWorldBean implements InitializingBean{

	public HelloWorldBean(){
		System.out.println("constructor");
	}
	public void afterPropertiesSet() throws Exception {
		System.out.println("afterPropertiesSet");
	}

	public void DestoryMethod(){
		System.out.println("DestoryMethod");
	}
	 
	private String UserName;
	private Date Date;
	private List<String> alist;
	private Map<String,String> aMap;
	private Set<String> aSet;
	private Properties aProperty;

	public List<String> getAlist() {
		return alist;
	}
	public void setAlist(List<String> alist) {
		this.alist = alist;
	}
	public Map<String, String> getaMap() {
		return aMap;
	}
	public void setaMap(Map<String, String> aMap) {
		this.aMap = aMap;
	}
	public Set<String> getaSet() {
		return aSet;
	}
	public void setaSet(Set<String> aSet) {
		this.aSet = aSet;
	}
	public Properties getaProperty() {
		return aProperty;
	}
	public void setaProperty(Properties aProperty) {
		this.aProperty = aProperty;
	}
	public Date getDate() {
		return Date;
	}
	public void setDate(Date date) {
		Date = date;
	}
	public String getUserName() {
		return UserName;
	}

	public void setUserName(String userName) {
		UserName = userName;
	}
}
